-- GENERATED SPELL FOR [Starving Fungal Giant] --


function spell0_18125(pUnit, Event) --@Choking Vines,n/a--
pUnit:FullCastSpellOnTarget(35244,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18125', 18000, 1)
end

function Sorts_18125(pUnit, Event)
local choix_sorts_18125 = math.random(0, 0)
if choix_sorts_18125 == 0 then
pUnit:RegisterEvent('spell0_18125', 1, 1)
end
end

function mob18125_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18125', math.random(1500, 3000), 1)
end

function mob18125_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18125_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18125_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18125, 1, 'mob18125_Action')
RegisterUnitEvent(18125, 2, 'mob18125_Leave')
RegisterUnitEvent(18125, 3, 'mob18125_Kill')
RegisterUnitEvent(18125, 4, 'mob18125_Die')
